<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html>
<head>
    <title>Meeting会议管理系统</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/styles/common.css"/>
</head>
<body>
<%@ include file="top.jsp" %>
<div class="page-body">
    <%@ include file="leftMenu.jsp" %>
    <div class="page-content">
        <div class="content-nav">
            会议预定 > 会议记录
        </div>
        <table class="listtable">
            <caption>${roomName}:</caption>
            <tr class="listheader">
                <th>会议名称</th>
                <th>参会人数</th>
                <th>开始时间</th>
                <th>结束时间</th>
                <th>备注</th>
            </tr>
            <c:forEach items="${meetingHistory}" var="meeting">
                <tr>
                    <td>${meeting.meetingname}</td>
                    <td>${meeting.numberofparticipants}</td>
                    <td><fmt:formatDate value="${meeting.starttime}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
                    <td><fmt:formatDate value="${meeting.endtime}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
                    <td>${meeting.description}</td>
                </tr>
            </c:forEach>
        </table>
    </div>
</div>
<%@include file="down.jsp"%>
</body>
</html>